﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace GWSoft.Clark.EventBus.Vehicle.Models
{
    public class Vehicle
    {

        public Vehicle() 
            : this(Guid.NewGuid().ToString("N"), null)
        {

        }

        public Vehicle(string vehicleNum)
            : this(Guid.NewGuid().ToString("N"), vehicleNum){
        }

        public Vehicle(string vehicleId, string vehicleNum)
        {
            this.VehicleId = vehicleId;
            this.VehicleNum = vehicleNum;
        }

        public string VehicleId { get; set; }

        public string VehicleNum { get; set; }

        public string VehicleType { get; set; }
    }
}
